<CFSET session.tabId = "worksched">
<CFSET session.tabLocation = "../../eworksched">
<CFINCLUDE TEMPLATE="#client.common_path#_toggle.cfm">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<TITLE>iBOS/e eWorksked</TITLE>
		<CFOUTPUT>
			<LINK REL="StyleSheet" HREF="#client.wstheme_path##client.empcolor#.css" TYPE="text/css">
		</CFOUTPUT> 
	</HEAD>
	
	<CFSET webCompCode = "worksched">
	
	<CFMODULE TEMPLATE = "#client.common_path#cfm_checkuserrecords.cfm" USERTABLE = "ECRTWORKSCHED"
		USERFIELD = "USERGRPID_FK" RECORDFIELD = "WSCODE_FK" BOOLEANFIELDS="ISVIEW,ISADD,ISEDIT,ISDELETE">

	<BODY LEFTMARGIN=0 RIGHTMARGIN=0 TOPMARGIN=0 BOTTOMMARGIN=0>
		<CFMODULE TEMPLATE="#client.common_path#cfm_workspace.cfm" MODULE="#webCompCode#">
		<CFOUTPUT>
			<TABLE BORDER=0 CELLSPACING=5 CELLPADDING=0 WIDTH="100%">
				<CFIF isdefined("session.sMess") and session.sMess NEQ "">
					<TR>
						<TD>
							<CFMODULE TEMPLATE="#client.common_path#cfm_wswindow.cfm" TITLE="Information">
							<BR><B>#session.sMess#</B><BR>
							<CFMODULE TEMPLATE="#client.common_path#cfm_wswindow.cfm" TOP="False">
							<cfset session.sMess="">
						</TD>
					</TR>
				</CFIF>
				<TR VALIGN="top">
					<TD WIDTH="60%">
						<CFINCLUDE TEMPLATE="./main.cfm">
					</TD>
					<TD>
						<!--- display the utilities --->
						<CFMODULE TEMPLATE="#client.common_path#cfm_utilities.cfm" MODULE="worksched">
					</TD>
				</TR>
			</TABLE>
		</CFOUTPUT>
		<CFMODULE TEMPLATE="#client.common_path#cfm_workspace.cfm" TOP="False">
	</BODY>
</HTML>